home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / enigma / earcd / emula / arosdv19.lha / AROS / alib / dogadgetmethod.c < prev    next >
C/C++ Source or Header  |  1996-10-25  |  1KB  |  65 lines

  1. /*
  2.     (C) 1995-96 AROS - The Amiga Replacement OS
  3.     $Id: dogadgetmethod.c,v 1.1 1996/10/25 14:14:47 aros Exp $
  4.  
  5.     Desc:
  6.     Lang: english
  7. */
  8.  
  9. #ifndef INTUITION_CLASSUSR_H
  10. #   include <intuition/classusr.h>
  11. #endif
  12. #include <clib/intuition_protos.h>
  13. #include <stdarg.h>
  14.  
  15. /*****************************************************************************
  16.  
  17.     NAME */
  18.     #include <intuition/intuition.h>
  19.     #include <clib/intuition_protos.h>
  20.  
  21.     IPTR DoGadgetMethod (
  22.  
  23. /*  SYNOPSIS */
  24.     struct Gadget     * gad,
  25.     struct Window     * win,
  26.     struct Requester * req,
  27.     ULONG           methodId,
  28.     ...)
  29.  
  30. /*  FUNCTION
  31.     Invokes a boopsi method on a object with a GadgetInfo derived from
  32.     the supplied window or requester parameter.
  33.  
  34.     INPUTS
  35.     gad - The gadget to work on
  36.     win - The window which contains the gadget or the requester with
  37.         the gadgets.
  38.     req - If the gadget is in a requester, you must specify that one,
  39.         too.
  40.     methodId - The message to the gadget follows here.
  41.  
  42.     RESULT
  43.     The result depends on the contents of the message sent to the
  44.     gadget.
  45.  
  46.     NOTES
  47.  
  48.     EXAMPLE
  49.  
  50.     BUGS
  51.  
  52.     SEE ALSO
  53.  
  54.     INTERNALS
  55.  
  56.     HISTORY
  57.     29-10-95    digulla automatically created from
  58.                 intuition_lib.fd and clib/intuition_protos.h
  59.     25-10-96    calid   submitted the code
  60.  
  61. *****************************************************************************/
  62. {
  63.     return DoGadgetMethodA (gad, win, req, (Msg)&methodId);
  64. } /* DoGadgetMethod */
  65.